home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / Miscellaneous / ThreeWayMerge / ThreeWayMerge ReadMe next >
Encoding:
Text File  |  1998-11-25  |  1.7 KB  |  27 lines  |  [TEXT/MPS ]

  1.                                 ThreeWayMerge
  2.                                 
  3.  
  4. This is a set of three scripts to facilitate merging of source code.
  5.  
  6. ThreeWayMerge compares/merges two files that are assumed to be derived from a base file. 
  7. It does so by comparing both versions with the base, sorting the resulting difference 
  8. records, and then processing them as actions on the base file. All changes from both 
  9. versions are included in the output. If both versions affect the same lines in the base, 
  10. then both versions are listed, with "•••" marks enclosing the conflict.
  11.  
  12. ThreeWayMerge.Action is a subroutine called by the main ThreeWayMerge script to process 
  13. each change record.
  14.  
  15. ThreeWayMergeBranch merges any changes you have locally with the current latest version 
  16. on your Named Branch (or main branch if you don't have one). The resulting merge is placed 
  17. into a modified-read-only file that is derived from the latest version. You can use this
  18. to merge in changes from other branches by checking them out and then doing a merge. 
  19. It is a variation on the traditional MergeBranch. It renames the branch revision <file> 
  20. to <file>,<branch> and checks out the latest revision on the revision trunk as 
  21. modified-read-only. It also checks out the version of the file from which your local was 
  22. derived (either checked out for modify or modified-read-only). This file is called the base. 
  23. Your version is version1, while the current main branch is version2. We then call 
  24. ThreeWayMergeBranch to merge the changes automatically. The result is that you are 
  25. up-to-date with the main branch, and can check in after you have verified that the merge 
  26. was successful. Note that ThreeWayMergeBranch marks conflicts with lines containing "•••". 
  27.